package com.mercury.pattern._14_visitor;

public class Success implements Action {
    @Override
    public void getWomanResult() {
        System.out.println("女生打分成功");
        //这里可以调用元素的方法,比如getWomanResule(Person person ){person.xxxMethod();}
    }

    @Override
    public void getManResult() {
        System.out.println("男生打分成功");
    }
}
